package com.yingsheng.bi.hks.template.events;

import java.util.Map;

public interface Event {

    String getId();

    <T> T getData(String key);

    void setData(String key, Object value);

    Map<String, Object> getDataMap();

    void setDataMap(Map<String, Object> dataMap);

    void putAll(Map<String, Object> dataMap);

    void reset();

}
